#ifdef __IAR_SYSTEMS_ICC
#ifndef __SMLFIFO
#include <sml_fifo.h>
#endif

extern volatile SFIFOHeader ASUA0InFIFO, ASUA1InFIFO;
extern volatile SFIFOHeader ASUA0OutFIFO, ASUA1OutFIFO;

extern void ASUA0Init(unsigned short UBR, unsigned char UMCTL, unsigned short options);
extern void ASUA0Xmit(void);
extern int  ASUA0XmitChr(unsigned char ch);
extern int  ASUA0RecvChr(void);
extern int  ASUA0XmitStr(char *str);
extern int  ASUA0RecvStr(char *str, unsigned short sz);
extern int  ASUA0XmitBlk(unsigned char *buf, unsigned short sz);
extern int  ASUA0RecvBlk(unsigned char *buf, unsigned short sz);
extern void ASUA0Suspend(void);
extern void ASUA0Resume(void);

extern void ASUA1Init(unsigned short UBR, unsigned char UMCTL, unsigned short options);
extern void ASUA1Xmit(void);
extern int  ASUA1XmitChr(unsigned char ch);
extern int  ASUA1RecvChr(void);
extern int  ASUA1XmitStr(char *str);
extern int  ASUA1RecvStr(char *str, unsigned short sz);
extern int  ASUA1XmitBlk(unsigned char *buf, unsigned short sz);
extern int  ASUA1RecvBlk(unsigned char *buf, unsigned short sz);
extern void ASUA1Suspend(void);
extern void ASUA1Resume(void);

#else
            EXTERN  ASUA0InFIFO, ASUA0OutFIFO
            EXTERN  ASUA0INIT, ASUA0RXINT, ASUA0TXINT
            EXTERN  ASUA0Xmit, ASUA0Xmit_NBP, ASUA0XmitChr, ASUA0RecvChr
            EXTERN  ASUA0XmitStr, ASUA0RecvStr
            EXTERN  ASUA0XmitBlk, ASUA0RecvBlk
            EXTERN  ASUA0Suspend, ASUA0Resume
            
            EXTERN  ASUA1InFIFO, ASUA1OutFIFO
            EXTERN  ASUA1INIT, ASUA1RXINT, ASUA1TXINT
            EXTERN  ASUA1Xmit, ASUA1Xmit_NBP, ASUA1XmitChr, ASUA1RecvChr
            EXTERN  ASUA1XmitStr, ASUA1RecvStr
            EXTERN  ASUA1XmitBlk, ASUA1RecvBlk
            EXTERN  ASUA1Suspend, ASUA1Resume

#endif
            
